<template>
	<div class="main">
		<my-header></my-header>
		<router-view />
	</div>
</template>
<script lang="ts">
import myHeader from '@/views/myHeader.vue'
import { defineComponent } from 'vue'

export default defineComponent({
	components: {
		myHeader
	}
})

</script>

<style lang="less">
.main{
	margin: 0 auto;
	max-width: 800px;
	min-height: 100%;
	background-color: #fff;
}

#app {
	font-family: Avenir, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-align: center;
	color: #2c3e50;
	background-color: #f1f1f1;
	height: 100%
}

nav {
	padding: 30px;

	a {
		font-weight: bold;
		color: #2c3e50;

		&.router-link-exact-active {
			color: #42b983;
		}
	}
}
</style>
